-- Written for Daggerfall Unity by Harbinger451
Quest: PROST017
DisplayName: Vist a Recommended Tavern Prostitute
-- Message panels
QRC:

QuestorOffer:  [1000]
<ce>                      The prostitutes here in %reg
<ce>                        are the best in Tamriel!
<ce>                   Perhaps I can recommend one to you?
                                     <--->
<ce>                      The prostitutes here in %reg
<ce>                     are the best in the Iliac Bay!
<ce>                      There's one I have in mind,
<ce>                         if you're interested?
                                     <--->
<ce>                The prostitutes here are worth every penny.
<ce>               I could recommend a very special one for you?
                                     <--->
<ce>                  You haven't lived till you try out the
<ce>                      prostitutes in these parts!
<ce>                       There's one in particular,
<ce>                      I'd like to suggest for you?
                                     <--->
<ce>              Have you ever been with a prostitute, young %ra?
<ce>                       It's quite the experience!
<ce>              There's one in particular that'll blow your mind.
<ce>                  Worth every penny if you're interested?

RefuseQuest:  [1001]
<ce>                        You're missing out, %ra.
                                     <--->
<ce>                  Oh well, more fun for the rest of us.
                                     <--->
<ce>                    I'm just trying to help you out.
                                     <--->
<ce>                   Using prostitutes beneath you, eh?
                                     <--->
<ce>            Some people just don't know how to have fun, I guess!

AcceptQuest:  [1002]
<ce>                      Go see _prostitute_ in _tavern_
<ce>                         of __tavern_ and they'll
<ce>                      give you the time of your life.
<ce>                They'll only be there for =traveltime_ days, 
<ce>                       and be sure you have some gold.
                                     <--->
<ce>                       Give _prostitute_ in _tavern_
<ce>                           of __tavern_ a try.
<ce>                They'll only be there for =traveltime_ days.
<ce>                     You won't regret it my friend. 
<ce>                       It'll be money well spent.
                                     <--->
<ce>                     Try _prostitute_ in _tavern_
<ce>                       of __tavern_, and see if
<ce>                   you don't have the time of your life. 
<ce>                They'll only be there for =traveltime_ days. 
<ce>                    Be sure to take gold with you mind.
                                     <--->
<ce>                        _prostitute_ in _tavern_
<ce>                    of __tavern_ is the best there is.
<ce>                They'll only be there for =traveltime_ days. 
<ce>                     You'll get your money's worth,
<ce>                      there's not doubt about that.
                                     <--->
<ce>                   _prostitute_ of _tavern_ in __tavern_
<ce>                   knows a thing or two, I can tell you!
<ce>                They'll only be there for =traveltime_ days. 
<ce>                       It'll be money well spent,
<ce>             and they'll show you something you wouldn't believe.

QuestFail:  [1003]
<ce>                 Do you think this is some kind of charity!
<ce>          If you don't have the money, you can talk to my procurers!
                                     <--->
<ce>                    You don't have enough coin, fool.
<ce>                  Trying to get by without paying, eh?
<ce>                My procurers will show you a thing or two!
                                     <--->
<ce>       You'll be sorry, trying it on when you don't have the gold.
<ce>            My procurers will have something to say about this!
                                    <--->
<ce>                Not enough coin! Are you trying to rob me?
<ce>               My procurers will put a stop to that, fool!

QuestComplete:  [1004]
<ce>                          Thanks for the gold!
<ce>             It was a pleasure doing business with you, %pcf. 
<ce>                Tell all your friends I'm value for money.
                                     <--->
<ce>                    You seemed to enjoy yourself, %pcf.
<ce>              But then, the business of pleasure is my game.
                                     <--->
<ce>              Well, that seemed to get a load off your mind.
<ce>                      Thank you for your business.
                                     <--->
<ce>                  By the Nines, that really got me going.
<ce>                 And believe me, %pcf, in my line of work,
<ce>              I don't get to say that often... you're amazing!

RumorsDuringQuest:  [1005]
At least the prostitutes seem to be doing a roaring trade.
<--->
The prostitutes are being kept busy at the moment.
<--->
There must be something in the air, the prostitutes are busier than ever.

RumorsPostsuccess:  [1007]
Some lucky %ra had a real good time with _prostitute_ recently.
<--->
_prostitute_ has been distracted lately. Fallen hard for an attractive client, apparently.
<--->
_prostitute_ is looking for a particular %ra freebooter. Rocked %g3 world it seems.

QuestorPostsuccess:  [1008]
Oh, it's you, %pcf. I heard you enjoyed your little assignation with _prostitute_.
<--->
_prostitute_ won't stop singing your praises, %pcf. I think %g1 enjoyed you almost as much as you did %g2.

QuestLogEntry:  [1010]
%qdt
_qgiver_ in __qgiver_ of ___qgiver_
recommended I visit an exceptional prostitute called
_prostitute_ in _tavern_ of __tavern_.
I have =traveltime_ days to meet up with them.

Message:  1011
%qdt:
I met with prostitute _prostitute_ in _tavern_ of __tavern_
and had a real good time. It only cost me 200 gold pieces.
Unfortunately, I now have a rash that itches something awful.

Message:  1012
<ce>               Want to do something you can be ashamed of?
<ce>                 For you, I'll only charge 200 gold.
                                     <--->
<ce>             Come on, sweetheart. I bet you want to do it.
<ce>                  Special price, just 200 gold pieces.
                                     <--->
<ce>                      Do you want to fool around?
<ce>                   It'll only cost you a miserly 200?
                                     <--->
<ce>                200 gold pieces and I'm all yours lover.
<ce>            Want to do something that'll broaden your horizons?

Message:  1013
<ce>                    That's what I like to hear, %pcf. 
<ce>                         I'm ready when you are.
                                     <--->
<ce>                        That's the spirit, %pcf!
<ce>                            Make your move.
                                     <--->
<ce>                      I'm ready and waiting, %pcf.
<ce>                     The anticipation is killing me!
                                     <--->
<ce>                          Mount up then, honey.
<ce>                    I'll give you a ride like no other!

Message:  1014
<ce>             You didn't strike me as the penny pinching kind.
<ce>                Oh well, stop wasting my time and leave.
                                     <--->
<ce>               I wouldn't have pegged you as cheap, %pcf.
<ce>                 Well move along then, time is money.
                                     <--->
<ce>                     So you don't think I'm worth it?
<ce>                         You offend me, %pcf.
                                    <--->
<ce>                       Well, ain't that a shame?
<ce>            I was looking forward to showing you a thing or two.

Message:  1015
<ce>                          Now, lets get down to
<ce>                        the business of pleasure.
<ce>                                  ...
<ce>                      Take me. Oh, yes! You know how.
<ce>                        Rock me, baby. Yes, YES!
<ce>                           Do it, that's right.
<ce>                                  ...
<ce>                             Harder! Faster!
<ce>                                  ...
<ce>                         Keep going! Don't stop!
<ce>                                  ...
<ce>                            Ooooh-whee, YES!
<ce>                                  ...
<ce>                       By Prince Sanguine himself,
<ce>                        but you're SO good at it!
<ce>                           I'm all a tremble!
                                     <--->
<ce>                         Now, lets get to work
<ce>                       with some serious pleasure.
<ce>                                  ...
<ce>                        Oh, yes! Take me! Take me!
<ce>                   %oth! You really know where it's at.
<ce>                                  ...
<ce>                    Deeper! That's the spot! Yes! Yes!
<ce>                                  ...
<ce>                      Don't stop! I'm fainting away!
<ce>                                  ...
<ce>                        Yes! Yes! Ooooh! Aaaah!
<ce>                                  ...
<ce>                        By all the daedra, %pcf.
<ce>                     You made me blush, and believe
<ce>                          me, that's not easy!

Message:  1016
%qdt:
I met with prostitute _prostitute_ in _tavern_ of __tavern_
and had a real good time. It only cost me 200 gold pieces.

QBN:

Person _qgiver_ group Questor
Person _prostitute_ faction The_Prostitutes
Person _thief_ faction The_Thieves_Guild

Place _tavern_ local tavern

Clock _traveltime_ 24:00

Foe _procurer_ is 2 Thief

-- Quest start-up:
	start timer _traveltime_
	log 1010 step 0
	place npc _prostitute_ at _tavern_

variable _traveltime_ 

_outoftime_ task:
    when _traveltime_ and not _prostituteclicked_
	remove log step 0
	end quest

_prostituteclicked_ task:
	clicked npc _prostitute_

_successorfailure_ task:
	when _prostituteclicked_
	prompt 1012 yes _pcpay_ no _pctight_

_pcpay_ task:
    say 1013
    pay 200 money do _pcpaid_ otherwise do _pcpoor_

_pctight_ task:
    say 1014
    change repute with _prostitute_ by -2
    remove log step 0
    end quest

_pcpaid_ task:
    clear _pcpay_
    pick one of _pcinfect1in3_ _pcclear_ _pcclear_

_pcinfect1in3_ task:
    pick one of _pcinfect1in9_ _pcclear_ _pcclear_

_pcinfect1in9_ task:
    pick one of _pcinfect1in27_ _pcclear_ _pcclear_

_pcinfect1in27_ task:
    pick one of _pox_ _pox_ _leprosy_ _plague_

_pox_ task:
    say 1015
    train pc Streetwise
    give pc nothing
    change repute with _prostitute_ by +2
    remove log step 0
    log 1011 step 1
    make pc ill with Witches'_Pox
    end quest

_leprosy_ task:
    say 1015
    train pc Streetwise
    give pc nothing
    change repute with _prostitute_ by +2
    remove log step 0
    log 1011 step 1
    make pc ill with Leprosy
    end quest

_plague_ task:
    say 1015
    train pc Streetwise
    give pc nothing
    change repute with _prostitute_ by +2
    remove log step 0
    log 1011 step 1
    make pc ill with Plague
    end quest

_pcclear_ task:
    say 1015
    train pc Streetwise
    give pc nothing
    change repute with _prostitute_ by +2
    remove log step 0
    log 1016 step 1
    end quest

_pcpoor_ task:
    say 1003
    create foe _procurer_ every 0 minutes 1 times with 100% success

_killprocurer_ task:
    killed 2 _procurer_
    change repute with _thief_ by -5
    remove log step 0
    end quest
